<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>arm_bayes_example_f32.c</title>
<title>CMSIS-DSP: arm_bayes_example_f32.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="cmsis.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="printComponentTabs.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 46px;">
  <td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">CMSIS-DSP
   &#160;<span id="projectnumber">Version 1.8.0</span>
   </div>
   <div id="projectbrief">CMSIS DSP Software Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<div id="CMSISnav" class="tabs1">
    <ul class="tablist">
      <script type="text/javascript">
		<!--
		writeComponentTabs.call(this);
		//-->
      </script>
	  </ul>
</div>
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('arm_bayes_example_f32_8c-example.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">arm_bayes_example_f32.c</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><span class="comment">/* ----------------------------------------------------------------------</span></div>
<div class="line"><span class="comment">* Copyright (C) 2019-2020 ARM Limited. All rights reserved.</span></div>
<div class="line"><span class="comment">*</span></div>
<div class="line"><span class="comment">* $Date:         09. December 2019</span></div>
<div class="line"><span class="comment">* $Revision:     V1.0.0</span></div>
<div class="line"><span class="comment">*</span></div>
<div class="line"><span class="comment">* Project:       CMSIS DSP Library</span></div>
<div class="line"><span class="comment">* Title:         arm_bayes_example_f32.c</span></div>
<div class="line"><span class="comment">*</span></div>
<div class="line"><span class="comment">* Description:   Example code demonstrating how to use Bayes functions.</span></div>
<div class="line"><span class="comment">*</span></div>
<div class="line"><span class="comment">* Target Processor: Cortex-M/Cortex-A</span></div>
<div class="line"><span class="comment">*</span></div>
<div class="line"><span class="comment">* Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><span class="comment">* modification, are permitted provided that the following conditions</span></div>
<div class="line"><span class="comment">* are met:</span></div>
<div class="line"><span class="comment">*   - Redistributions of source code must retain the above copyright</span></div>
<div class="line"><span class="comment">*     notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><span class="comment">*   - Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><span class="comment">*     notice, this list of conditions and the following disclaimer in</span></div>
<div class="line"><span class="comment">*     the documentation and/or other materials provided with the</span></div>
<div class="line"><span class="comment">*     distribution.</span></div>
<div class="line"><span class="comment">*   - Neither the name of ARM LIMITED nor the names of its contributors</span></div>
<div class="line"><span class="comment">*     may be used to endorse or promote products derived from this</span></div>
<div class="line"><span class="comment">*     software without specific prior written permission.</span></div>
<div class="line"><span class="comment">*</span></div>
<div class="line"><span class="comment">* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span></div>
<div class="line"><span class="comment">* &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span></div>
<div class="line"><span class="comment">* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS</span></div>
<div class="line"><span class="comment">* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE</span></div>
<div class="line"><span class="comment">* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,</span></div>
<div class="line"><span class="comment">* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,</span></div>
<div class="line"><span class="comment">* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div>
<div class="line"><span class="comment">* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER</span></div>
<div class="line"><span class="comment">* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span></div>
<div class="line"><span class="comment">* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN</span></div>
<div class="line"><span class="comment">* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><span class="comment">* POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><span class="comment">* -------------------------------------------------------------------- */</span></div>
<div class="line"> </div>
<div class="line"><span class="preprocessor">#include &lt;math.h&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><span class="preprocessor">#include &quot;<a class="code" href="arm__math_8h.html">arm_math.h</a>&quot;</span></div>
<div class="line"> </div>
<div class="line"><span class="comment">/* </span></div>
<div class="line"><span class="comment"></span> </div>
<div class="line"><span class="comment">Those parameters can be generated with the python library scikit-learn.</span></div>
<div class="line"><span class="comment"></span> </div>
<div class="line"><span class="comment">*/</span></div>
<div class="line"><a name="_a0"></a><a class="code" href="structarm__gaussian__naive__bayes__instance__f32.html">arm_gaussian_naive_bayes_instance_f32</a> <a name="a1"></a><a class="code" href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a>;</div>
<div class="line"> </div>
<div class="line"><span class="preprocessor">#define NB_OF_CLASSES 3</span></div>
<div class="line"><span class="preprocessor">#define VECTOR_DIMENSION 2</span></div>
<div class="line"> </div>
<div class="line"><span class="keyword">const</span> <a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> <a name="a2"></a><a class="code" href="arm__bayes__example__f32_8c.html#af0f893acc3866ec103f68776dc5abed8">theta</a>[<a name="a3"></a><a class="code" href="arm__bayes__example__f32_8c.html#a29d34219689e613d2e2cf860c62b3061">NB_OF_CLASSES</a>*<a name="a4"></a><a class="code" href="arm__bayes__example__f32_8c.html#a98d2e2076140b796ee1cb5f3e77248a7">VECTOR_DIMENSION</a>] = {</div>
<div class="line">  1.4539529436590528f, 0.8722776016801852f, </div>
<div class="line">  -1.5267934452462473f, 0.903204577814203f, </div>
<div class="line">  -0.15338006360932258f, -2.9997913665803964f</div>
<div class="line">};          </div>
<div class="line"><span class="keyword">const</span> <a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> <a name="a5"></a><a class="code" href="arm__bayes__example__f32_8c.html#aab1dfd777fcd14533f591c799743cf52">sigma</a>[<a class="code" href="arm__bayes__example__f32_8c.html#a29d34219689e613d2e2cf860c62b3061">NB_OF_CLASSES</a>*<a class="code" href="arm__bayes__example__f32_8c.html#a98d2e2076140b796ee1cb5f3e77248a7">VECTOR_DIMENSION</a>] = {</div>
<div class="line">  1.0063470889514925f, 0.9038018246524426f, </div>
<div class="line">  1.0224479953244736f, 0.7768764290432544f, </div>
<div class="line">  1.1217662403241206f, 1.2303890106020325f</div>
<div class="line">};          </div>
<div class="line"><span class="keyword">const</span> <a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> <a name="a6"></a><a class="code" href="arm__bayes__example__f32_8c.html#a39439215586c0acf10a04ed9eda06414">classPriors</a>[<a class="code" href="arm__bayes__example__f32_8c.html#a29d34219689e613d2e2cf860c62b3061">NB_OF_CLASSES</a>] = {</div>
<div class="line">  0.3333333333333333f, 0.3333333333333333f, 0.3333333333333333f</div>
<div class="line">};    </div>
<div class="line">int32_t <a name="a7"></a><a class="code" href="arm__bayes__example__f32_8c.html#a52d2cba30e6946c95578be946ac12a65">main</a>(<span class="keywordtype">void</span>)</div>
<div class="line">{</div>
<div class="line">  <span class="comment">/* Array of input data */</span></div>
<div class="line">  <a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> in[2];</div>
<div class="line"> </div>
<div class="line">  <span class="comment">/* Result of the classifier */</span></div>
<div class="line">  <a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> result[<a class="code" href="arm__bayes__example__f32_8c.html#a29d34219689e613d2e2cf860c62b3061">NB_OF_CLASSES</a>];</div>
<div class="line">  <a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> maxProba;</div>
<div class="line">  uint32_t index;</div>
<div class="line">  </div>
<div class="line">  <a class="code" href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a>.<a name="a8"></a><a class="code" href="structarm__gaussian__naive__bayes__instance__f32.html#a0e4e79474f031ec0e827fea331bfc7e1">vectorDimension</a> = <a class="code" href="arm__bayes__example__f32_8c.html#a98d2e2076140b796ee1cb5f3e77248a7">VECTOR_DIMENSION</a>; </div>
<div class="line">  <a class="code" href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a>.<a name="a9"></a><a class="code" href="structarm__gaussian__naive__bayes__instance__f32.html#a01416824fa5e430f356fb8749bb30499">numberOfClasses</a> = <a class="code" href="arm__bayes__example__f32_8c.html#a29d34219689e613d2e2cf860c62b3061">NB_OF_CLASSES</a>; </div>
<div class="line">  <a class="code" href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a>.<a name="a10"></a><a class="code" href="structarm__gaussian__naive__bayes__instance__f32.html#a88b225d1292eefe044cb0464aac35210">theta</a> = <a class="code" href="arm__bayes__example__f32_8c.html#af0f893acc3866ec103f68776dc5abed8">theta</a>;          </div>
<div class="line">  <a class="code" href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a>.<a name="a11"></a><a class="code" href="structarm__gaussian__naive__bayes__instance__f32.html#a749ffa47df1de71fda9acd54bd262441">sigma</a> = <a class="code" href="arm__bayes__example__f32_8c.html#aab1dfd777fcd14533f591c799743cf52">sigma</a>;         </div>
<div class="line">  <a class="code" href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a>.<a name="a12"></a><a class="code" href="structarm__gaussian__naive__bayes__instance__f32.html#a7415f6aac3f4aea80895824bc192371b">classPriors</a> = <a class="code" href="arm__bayes__example__f32_8c.html#a39439215586c0acf10a04ed9eda06414">classPriors</a>;    </div>
<div class="line">  <a class="code" href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a>.<a name="a13"></a><a class="code" href="structarm__gaussian__naive__bayes__instance__f32.html#a05a3e725ff3c5b5241f17472cf8f44ec">epsilon</a>=4.328939296523643e-09f; </div>
<div class="line"> </div>
<div class="line">  in[0] = 1.5f;</div>
<div class="line">  in[1] = 1.0f;</div>
<div class="line"> </div>
<div class="line">  <a name="a14"></a><a class="code" href="group__groupBayes.html#ga84d3fecc4e11958ca19c4e86fc8c8eb1">arm_gaussian_naive_bayes_predict_f32</a>(&amp;<a class="code" href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a>, in, result);</div>
<div class="line"> </div>
<div class="line">  <a name="a15"></a><a class="code" href="group__Max.html#gad1eabd31544fe59c414d9ce5bd0cc151">arm_max_f32</a>(result,</div>
<div class="line">        <a class="code" href="arm__bayes__example__f32_8c.html#a29d34219689e613d2e2cf860c62b3061">NB_OF_CLASSES</a>,</div>
<div class="line">        &amp;maxProba,</div>
<div class="line">        &amp;index);</div>
<div class="line"> </div>
<div class="line">  printf(<span class="stringliteral">&quot;Class = %d\n&quot;</span>,index);</div>
<div class="line"> </div>
<div class="line">  in[0] = -1.5f;</div>
<div class="line">  in[1] = 1.0f;</div>
<div class="line"> </div>
<div class="line">  <a class="code" href="group__groupBayes.html#ga84d3fecc4e11958ca19c4e86fc8c8eb1">arm_gaussian_naive_bayes_predict_f32</a>(&amp;<a class="code" href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a>, in, result);</div>
<div class="line"> </div>
<div class="line">  <a class="code" href="group__Max.html#gad1eabd31544fe59c414d9ce5bd0cc151">arm_max_f32</a>(result,</div>
<div class="line">        <a class="code" href="arm__bayes__example__f32_8c.html#a29d34219689e613d2e2cf860c62b3061">NB_OF_CLASSES</a>,</div>
<div class="line">        &amp;maxProba,</div>
<div class="line">        &amp;index);</div>
<div class="line"> </div>
<div class="line">  printf(<span class="stringliteral">&quot;Class = %d\n&quot;</span>,index);</div>
<div class="line"> </div>
<div class="line">  in[0] = 0.0f;</div>
<div class="line">  in[1] = -3.0f;</div>
<div class="line"> </div>
<div class="line">  <a class="code" href="group__groupBayes.html#ga84d3fecc4e11958ca19c4e86fc8c8eb1">arm_gaussian_naive_bayes_predict_f32</a>(&amp;<a class="code" href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a>, in, result);</div>
<div class="line"> </div>
<div class="line">  <a class="code" href="group__Max.html#gad1eabd31544fe59c414d9ce5bd0cc151">arm_max_f32</a>(result,</div>
<div class="line">        <a class="code" href="arm__bayes__example__f32_8c.html#a29d34219689e613d2e2cf860c62b3061">NB_OF_CLASSES</a>,</div>
<div class="line">        &amp;maxProba,</div>
<div class="line">        &amp;index);</div>
<div class="line"> </div>
<div class="line">  printf(<span class="stringliteral">&quot;Class = %d\n&quot;</span>,index);</div>
<div class="line">}</div>
<div class="line"> </div>
<div class="line"> </div>
<div class="line"> </div>
</div><!-- fragment --> </div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aarm__bayes__example__f32_8c_html_a39439215586c0acf10a04ed9eda06414"><div class="ttname"><a href="arm__bayes__example__f32_8c.html#a39439215586c0acf10a04ed9eda06414">classPriors</a></div><div class="ttdeci">const float32_t classPriors[NB_OF_CLASSES]</div><div class="ttdef"><b>Definition:</b> arm_bayes_example_f32.c:86</div></div>
<div class="ttc" id="aarm__math_8h_html_a4611b605e45ab401f02cab15c5e38715"><div class="ttname"><a href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a></div><div class="ttdeci">float float32_t</div><div class="ttdoc">32-bit floating-point type definition.</div><div class="ttdef"><b>Definition:</b> arm_math.h:541</div></div>
<div class="ttc" id="astructarm__gaussian__naive__bayes__instance__f32_html_a01416824fa5e430f356fb8749bb30499"><div class="ttname"><a href="structarm__gaussian__naive__bayes__instance__f32.html#a01416824fa5e430f356fb8749bb30499">arm_gaussian_naive_bayes_instance_f32::numberOfClasses</a></div><div class="ttdeci">uint32_t numberOfClasses</div><div class="ttdef"><b>Definition:</b> arm_math.h:8083</div></div>
<div class="ttc" id="aarm__math_8h_html"><div class="ttname"><a href="arm__math_8h.html">arm_math.h</a></div></div>
<div class="ttc" id="astructarm__gaussian__naive__bayes__instance__f32_html_a7415f6aac3f4aea80895824bc192371b"><div class="ttname"><a href="structarm__gaussian__naive__bayes__instance__f32.html#a7415f6aac3f4aea80895824bc192371b">arm_gaussian_naive_bayes_instance_f32::classPriors</a></div><div class="ttdeci">const float32_t * classPriors</div><div class="ttdef"><b>Definition:</b> arm_math.h:8086</div></div>
<div class="ttc" id="astructarm__gaussian__naive__bayes__instance__f32_html_a749ffa47df1de71fda9acd54bd262441"><div class="ttname"><a href="structarm__gaussian__naive__bayes__instance__f32.html#a749ffa47df1de71fda9acd54bd262441">arm_gaussian_naive_bayes_instance_f32::sigma</a></div><div class="ttdeci">const float32_t * sigma</div><div class="ttdef"><b>Definition:</b> arm_math.h:8085</div></div>
<div class="ttc" id="aarm__bayes__example__f32_8c_html_ad5af783c9e1eb1514dec0a59dac35eb7"><div class="ttname"><a href="arm__bayes__example__f32_8c.html#ad5af783c9e1eb1514dec0a59dac35eb7">S</a></div><div class="ttdeci">arm_gaussian_naive_bayes_instance_f32 S</div><div class="ttdef"><b>Definition:</b> arm_bayes_example_f32.c:69</div></div>
<div class="ttc" id="astructarm__gaussian__naive__bayes__instance__f32_html_a0e4e79474f031ec0e827fea331bfc7e1"><div class="ttname"><a href="structarm__gaussian__naive__bayes__instance__f32.html#a0e4e79474f031ec0e827fea331bfc7e1">arm_gaussian_naive_bayes_instance_f32::vectorDimension</a></div><div class="ttdeci">uint32_t vectorDimension</div><div class="ttdef"><b>Definition:</b> arm_math.h:8082</div></div>
<div class="ttc" id="agroup__groupBayes_html_ga84d3fecc4e11958ca19c4e86fc8c8eb1"><div class="ttname"><a href="group__groupBayes.html#ga84d3fecc4e11958ca19c4e86fc8c8eb1">arm_gaussian_naive_bayes_predict_f32</a></div><div class="ttdeci">uint32_t arm_gaussian_naive_bayes_predict_f32(const arm_gaussian_naive_bayes_instance_f32 *S, const float32_t *in, float32_t *pBuffer)</div><div class="ttdoc">Naive Gaussian Bayesian Estimator.</div><div class="ttdef"><b>Definition:</b> arm_gaussian_naive_bayes_predict_f32.c:339</div></div>
<div class="ttc" id="aarm__bayes__example__f32_8c_html_a29d34219689e613d2e2cf860c62b3061"><div class="ttname"><a href="arm__bayes__example__f32_8c.html#a29d34219689e613d2e2cf860c62b3061">NB_OF_CLASSES</a></div><div class="ttdeci">#define NB_OF_CLASSES</div><div class="ttdef"><b>Definition:</b> arm_bayes_example_f32.c:71</div></div>
<div class="ttc" id="astructarm__gaussian__naive__bayes__instance__f32_html_a05a3e725ff3c5b5241f17472cf8f44ec"><div class="ttname"><a href="structarm__gaussian__naive__bayes__instance__f32.html#a05a3e725ff3c5b5241f17472cf8f44ec">arm_gaussian_naive_bayes_instance_f32::epsilon</a></div><div class="ttdeci">float32_t epsilon</div><div class="ttdef"><b>Definition:</b> arm_math.h:8087</div></div>
<div class="ttc" id="astructarm__gaussian__naive__bayes__instance__f32_html"><div class="ttname"><a href="structarm__gaussian__naive__bayes__instance__f32.html">arm_gaussian_naive_bayes_instance_f32</a></div><div class="ttdoc">Instance structure for Naive Gaussian Bayesian estimator.</div><div class="ttdef"><b>Definition:</b> arm_math.h:8080</div></div>
<div class="ttc" id="astructarm__gaussian__naive__bayes__instance__f32_html_a88b225d1292eefe044cb0464aac35210"><div class="ttname"><a href="structarm__gaussian__naive__bayes__instance__f32.html#a88b225d1292eefe044cb0464aac35210">arm_gaussian_naive_bayes_instance_f32::theta</a></div><div class="ttdeci">const float32_t * theta</div><div class="ttdef"><b>Definition:</b> arm_math.h:8084</div></div>
<div class="ttc" id="agroup__Max_html_gad1eabd31544fe59c414d9ce5bd0cc151"><div class="ttname"><a href="group__Max.html#gad1eabd31544fe59c414d9ce5bd0cc151">arm_max_f32</a></div><div class="ttdeci">void arm_max_f32(const float32_t *pSrc, uint32_t blockSize, float32_t *pResult, uint32_t *pIndex)</div><div class="ttdoc">Maximum value of a floating-point vector.</div><div class="ttdef"><b>Definition:</b> arm_max_f32.c:263</div></div>
<div class="ttc" id="aarm__bayes__example__f32_8c_html_af0f893acc3866ec103f68776dc5abed8"><div class="ttname"><a href="arm__bayes__example__f32_8c.html#af0f893acc3866ec103f68776dc5abed8">theta</a></div><div class="ttdeci">const float32_t theta[NB_OF_CLASSES *VECTOR_DIMENSION]</div><div class="ttdef"><b>Definition:</b> arm_bayes_example_f32.c:74</div></div>
<div class="ttc" id="aarm__bayes__example__f32_8c_html_aab1dfd777fcd14533f591c799743cf52"><div class="ttname"><a href="arm__bayes__example__f32_8c.html#aab1dfd777fcd14533f591c799743cf52">sigma</a></div><div class="ttdeci">const float32_t sigma[NB_OF_CLASSES *VECTOR_DIMENSION]</div><div class="ttdef"><b>Definition:</b> arm_bayes_example_f32.c:80</div></div>
<div class="ttc" id="aarm__bayes__example__f32_8c_html_a98d2e2076140b796ee1cb5f3e77248a7"><div class="ttname"><a href="arm__bayes__example__f32_8c.html#a98d2e2076140b796ee1cb5f3e77248a7">VECTOR_DIMENSION</a></div><div class="ttdeci">#define VECTOR_DIMENSION</div><div class="ttdef"><b>Definition:</b> arm_bayes_example_f32.c:72</div></div>
<div class="ttc" id="aarm__bayes__example__f32_8c_html_a52d2cba30e6946c95578be946ac12a65"><div class="ttname"><a href="arm__bayes__example__f32_8c.html#a52d2cba30e6946c95578be946ac12a65">main</a></div><div class="ttdeci">int32_t main(void)</div><div class="ttdef"><b>Definition:</b> arm_bayes_example_f32.c:91</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Tue Mar 17 2020 15:01:24 for CMSIS-DSP Version 1.8.0 by Arm Ltd. All rights reserved.
	<!--
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 
	-->
	</li>
  </ul>
</div>
</body>
</html>
